package com.atguigu.java.ai.langchain4j.service;

import com.atguigu.java.ai.langchain4j.entity.SystemData;
import org.jgrapht.Graph;
import org.jgrapht.graph.DefaultEdge;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface Neo4jService {

    void importData(MultipartFile file) throws Exception;

    List<SystemData> readExcelWithEasyExcel(String filePath);

    Graph<String, DefaultEdge> buildGraph(List<SystemData> dataList);

    void importGraphToNeo4j(Graph<String, DefaultEdge> graph, List<SystemData> dataList);

    void close();
}
